package com.scm.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Addinfo entity. @author MyEclipse Persistence Tools
 */

public class Addinfo implements java.io.Serializable {

	// Fields

	private Integer addInfoId;
	private Saleorder saleorder=new Saleorder();
	private Integer addStatus;
	private Set addorders = new HashSet(0);

	// Constructors

	/** default constructor */
	public Addinfo() {
	}

	/** minimal constructor */
	public Addinfo(Saleorder saleorder, Integer addStatus) {
		this.saleorder = saleorder;
		this.addStatus = addStatus;
	}

	/** full constructor */
	public Addinfo(Saleorder saleorder, Integer addStatus, Set addorders) {
		this.saleorder = saleorder;
		this.addStatus = addStatus;
		this.addorders = addorders;
	}

	// Property accessors

	public Integer getAddInfoId() {
		return this.addInfoId;
	}

	public void setAddInfoId(Integer addInfoId) {
		this.addInfoId = addInfoId;
	}

	public Saleorder getSaleorder() {
		return this.saleorder;
	}

	public void setSaleorder(Saleorder saleorder) {
		this.saleorder = saleorder;
	}

	public Integer getAddStatus() {
		return this.addStatus;
	}

	public void setAddStatus(Integer addStatus) {
		this.addStatus = addStatus;
	}

	public Set getAddorders() {
		return this.addorders;
	}

	public void setAddorders(Set addorders) {
		this.addorders = addorders;
	}

}